﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mDefault.Master" AutoEventWireup="true" Debug="true" CodeBehind="AppleProduct.aspx.cs" Inherits="vukhoas.AppleProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>Sản phẩm Apple</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="menu_left">
	    <ul>
		    <li><a href="AppleProduct.aspx?id=1">Macbook Pro</a></li>
		    <li><a href="AppleProduct.aspx?id=1">Macbook Air</a></li>
		    <li><a href="AppleProduct.aspx?id=1">iPhone</a></li>
		    <li><a href="AppleProduct.aspx?id=1">iPad</a></li>					
	    </ul>
    </div>
    <div id="content_right">
	    <%
	        if (lstProduct.Count!=0){
		    foreach (vukhoas.src.POJO.Product pro in lstProduct){
	    %>	   
	    <div id="product_item">
	     <a href="ProductDetail.aspx?id=<%=pro.Id%>">
		    <img alt="" src="<%=vukhoas.src.ListImage.GetImagesPath(pro.Image)[0]%>" />
		    <br/>
		    <label class="name"><%=pro.Name%></label>
		    <br/>
		    <label class="price"><%=pro.Price%> đ</label>
		     </a>
	    </div>
	   
	    <%}
		    }else{ %>
		    <label>Sản phẩm chưa được cập nhật. Vui lòng chọn sản phẩm khác. Cám ơn</label>
	    <%}%>				
    </div>
</asp:Content>
